package com.enjoy.game.xcard.sprite;

import org.andengine.entity.sprite.AnimatedSprite;
import org.andengine.entity.sprite.Sprite;
import org.andengine.entity.sprite.batch.SpriteBatch;
import org.andengine.entity.sprite.batch.vbo.ISpriteBatchVertexBufferObject;
import org.andengine.opengl.shader.ShaderProgram;
import org.andengine.opengl.texture.ITexture;
import org.andengine.opengl.texture.region.ITiledTextureRegion;
import org.andengine.opengl.vbo.DrawType;
import org.andengine.opengl.vbo.VertexBufferObjectManager;
import org.andengine.util.algorithm.collision.RectangularShapeCollisionChecker;

public class DeckArea extends CellLayout{
	public DeckArea(float x, float y, float cellWidth, float cellHeight,
			int columnNum, int rowNum) {
		super(x, y, cellWidth, cellHeight, columnNum, rowNum);
	}
	
	@Override
	public boolean contains(float pX, float pY) {
		return RectangularShapeCollisionChecker.checkContains(this, mCellWidth*mColumnNum,  mCellHeight*mRowNum, pX, pY);
	}

}
